<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>

  </style>
</head>

<body>
  <!-- v-bind:标签属性=”表达式“ ，表达式的结果会赋值给标签属性 动态设置html的标签属性，例如 src href url title等等：：：： -->
  <!-- v-bind:标签属性=”表达式“ ，简写===》:标签属性=”表达式“《===== -->
  <div id="app">
    <img v-bind:src="imgUrl" v-bind:alt="title">
  </div>

  <script src="../vue/vue.js"></script>
  <script>
    const app = new Vue({
      el: '#app',
      data: {
        imgUrl: './imgs/10-02.png',
        title: "hello,波仔"
      },
      methods: {

      }
    })
  </script>
</body>

</html>